package com.ruoyi.cs.service;

import com.ruoyi.common.core.domain.Response;
import com.ruoyi.cs.domain.vo.CHPayNotifyParamVo;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.math.BigDecimal;
import java.util.Map;

/**
 * 传化支付
 */
public interface ICHPayService {

    /**
     * 充值接口
     * @param userId
     * @param czMoney
     * @param czEquipment
     * @return
     * @throws Exception
     */
    public Response<Map> chRecharge(String userId, BigDecimal czMoney, String czEquipment)  throws Exception ;

    /**
     * 回调
     * @param
     * @return
     */
    public void chPayNotify(HttpServletRequest request, HttpServletResponse response);


}
